projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2bad2
)
Fix crashes in x_tooltip_window_to_frame on GTK
author
Po Lu
<luangruo@yahoo.com>
Fri, 10 Jun 2022 01:28:45 +0000
(09:28 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 10 Jun 2022 01:28:45 +0000
(09:28 +0800)
* src/xterm.c (x_tooltip_window_to_frame): Ignore all non-X
frames instead of trying to get their tooltip window.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 77dea3ad4d178aa85637dbbbea065c6319c4d9ae..ed8f068136036843630575f48b283c84a13ec6eb 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-10453,6
+10453,9
@@
x_tooltip_window_to_frame (struct x_display_info *dpyinfo,
return f;
#ifdef USE_GTK
+ if (!FRAME_X_P (f))
+ continue;
+
if (FRAME_X_OUTPUT (f)->ttip_window)
widget = GTK_WIDGET (FRAME_X_OUTPUT (f)->ttip_window);
else